import request from '@/utils/request'
import qs from 'querystring'

export function listChannel(data) {
    return request({
        url: '/listChannel',
        method: 'post',
        data: qs.stringify(data)
    })
}

export function updChannel(data) {
    return request({
        url: '/updChannel',
        method: 'post',
        data: qs.stringify(data)
    })
}

export function addChannel(data) {
    return request({
        url: '/addChannel',
        method: 'post',
        data: qs.stringify(data)
    })
}